package com.zhentao.enums.admin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName ad_user_info
 */
@TableName(value ="ad_user_info")
@Data
public class AdUserInfo implements Serializable {
    /**
     * 用户信息编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户昵称
     */
    @TableField(value = "nickname")
    private String nickname;

    /**
     * 真实姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 身高
     */
    @TableField(value = "height")
    private Double height;

    /**
     * 体重
     */
    @TableField(value = "weight")
    private Double weight;

    /**
     * 爱好
     */
    @TableField(value = "like")
    private String like;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 头像
     */
    @TableField(value = "image")
    private String image;

    /**
     * 职业信息
     */
    @TableField(value = "infor")
    private String infor;

    /**
     * 出生日期
     */
    @TableField(value = "birth")
    private Date birth;

    /**
     * 学历
     */
    @TableField(value = "educations")
    private String educations;

    /**
     * 个人简介
     */
    @TableField(value = "brief_introductions")
    private String briefIntroductions;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
